package com.zbkj.crmeb.store.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 分类表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_supplier")
@ApiModel(value="Supplier对象", description="供应商表")
public class Supplier implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @ApiModelProperty(value = "供应商名称")
    private String suppliersName;

    @ApiModelProperty(value = "发货地")
    private Integer stockArea;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date editTime;

    @ApiModelProperty(value = "商户id")
    private Integer merId;

    @ApiModelProperty(value = "barcode")
    private String barcode;
    
    @ApiModelProperty(value = "is_deleted")
    private String isDeleted;

    @ApiModelProperty(value = "商品表is_europe")
    private Integer isEurope;

    @ApiModelProperty(value = "商品表mer_id")
    private Integer merchantId;

    @ApiModelProperty(value = "供应商编号")
    private String nameCode;

    @ApiModelProperty(value = "供应商类型: 1酒商 2酒庄 3商超、4电商平台")
    private Integer supplierType;

    @ApiModelProperty(value = "unibuy.appId")
    private String unibuyAppid;

    @ApiModelProperty(value = "unibuy.privatekey")
    private String unibuyPrivatekey;

    @ApiModelProperty(value = "unibuy.publickey")
    private String unibuyPublickey;

    @ApiModelProperty(value = "unibuy_channelNo")
    private String unibuyChannelno;

    @ApiModelProperty(value = "直邮类型 1直邮大陆 2直邮香港")
    private Integer directMailType;

    @ApiModelProperty(value = "币种ID")
    private Integer currencyId;

    @ApiModelProperty(value = "储备金余额")
    private BigDecimal reserveMoney;

}
